# encoding: utf-8
"""
@author:auto generate code
@license: Apache Licence
@time: 2020-07-18 17:01:27
@contact: wujinsheng1@yy.com
构造器，负责构造cmd命令，通过rpc发送给客户端
"""

from sdktest_module.utils.api_base_builder import ApiBaseBuilder, parameter

package_class_name = "com.demo.liveroom.autotest.AutoLivingViewModel."


class editChannelPassword(ApiBaseBuilder):
    api_name = package_class_name + "editChannelPassword"

    @parameter(1, "long")
    def topSid(self, topSid):
        return self

    @parameter(2, "String")
    def password(self, password):
        return self


class changeLiveRoomType(ApiBaseBuilder):
    api_name = package_class_name + "changeLiveRoomType"

    @parameter(1, "int")
    def liveBzType(self, liveBzType):
        return self


class setRoomNotice(ApiBaseBuilder):
    api_name = package_class_name + "setRoomNotice"

    @parameter(1, "long")
    def uid(self, uid):
        return self

    @parameter(2, "long")
    def sid(self, sid):
        return self

    @parameter(3, "String")
    def content(self, content):
        return self


class getRoomNotice(ApiBaseBuilder):
    api_name = package_class_name + "getRoomNotice"

    @parameter(1, "long")
    def uid(self, uid):
        return self

    @parameter(2, "long")
    def sid(self, sid):
        return self
